
package com.demo.zyt.modules.app.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;


/**
 * 微信用户表
 * 
 */
@TableName("zyt_sjt_user")
@Data
public class WxUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer userid;
	/**
	 * wx-openId
	 */
	private String openid;
	/**
	 * wx 昵称
	 */
	private String nickname;
	/**
	 * 性别
	 */
	private Integer sex;
	
	private Integer subscribe;
	
	private String language;
	
	private String city;
	
	private String province;
	
	private String country;
	
	/**
	 * 头像
	 */
	private String headimgurl;
	
	private Integer subscribeTime;
	
	private String unionid;
	
	private String remark;
	
	/**
	 * 绑定手机号
	 */
	private String mobile;
	
	/**
	 * 是否vip, 0:否, 1:是
	 */
	private Integer isVip;
	
	/**
	 * 用户积分
	 */
	private Integer userPoint;
	
	/**
	 * 是否加盟商, 0:否, 1:是
	 */
	private Integer isAllianceBusiness;
	
	private Date createdDate;
	
	@TableField(exist = false)
	private Integer fansCount;
	
}
